package com.monitor.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.monitor.dao.ErpMaterielFlowMaterielMapper;
import com.monitor.entity.ErpMaterielFlowMateriel;
import com.monitor.service.ErpMaterielFlowMaterielService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 物料流转物料表 服务实现类
 * </p>
 *
 * @author LX
 * @since 2018-09-08
 */
@Service
public class ErpMaterielFlowMaterielServiceImpl extends ServiceImpl<ErpMaterielFlowMaterielMapper, ErpMaterielFlowMateriel> implements ErpMaterielFlowMaterielService {

    @Resource
    private ErpMaterielFlowMaterielMapper flowMaterielMapper;


    @Override
    public ErpMaterielFlowMateriel getmaterielByPro(ErpMaterielFlowMateriel flowMateriel) {
        return flowMaterielMapper.selectOne(flowMateriel);
    }
}
